aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTe.../[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.s...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-21 23:52:44 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-21 23:52:44 +0100
commit4f8c81e479b5e83bc301f04f01a12466f9e1edf2 (patch)
tree4e521f2b12b70e4cf8f57cf5e71a9773cebf1791 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent0984cad6e314800cf1bc3fe604e1e48f0ed85ed7 (diff)
Support table imports
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected17
1 files changed, 17 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..1a731e5f
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctionImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,17 @@
+
+module.wasm: file format wasm 0x1
+
+Section Details:
+
+Type[2]:
+ - type[0] () -> nil
+ - type[1] (i32) -> nil
+Import[2]:
+ - func[0] sig=0 <Identifier1> <- ModuleName1.EntityName1
+ - func[1] sig=1 <Identifier2> <- ModuleName2.EntityName2
+Custom:
+ - name: "name"
+ - func[0] <Identifier1>
+ - func[1] <Identifier2>
+
+Code Disassembly: